<%--
  Created by IntelliJ IDEA.
  User: 郭金鹏
  Date: 2017/5/30
  Time: 8:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>文件上传</title>
</head>
<body>
<h3>单文件上传</h3><br />
<form action="/file/upload" method="post" enctype="multipart/form-data">
    <input type="file" name="file" /> <br />
    <input type="submit" value="上传" />
</form>

<br /><br /><br />

<h3>多文件上传</h3><br />
<form action="/file/upload" method="post" enctype="multipart/form-data">
    <input type="file" name="file" /> <br />
    <input type="file" name="file" /> <br />
    <input type="file" name="file" /> <br />
    <input type="submit" value="上传" />
</form>

</body>
</html>
